import string
import random


class CodeUtils:
    @staticmethod
    def mack_code_n(n):
        return ''.join(random.sample(string.digits, n))
